home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
xlib04.zip
/
XCLIPPBM.H
< prev
next >
Wrap
Text File
|
1992-11-08
|
1KB
|
42 lines
/*-----------------------------------------------------------------------
; MODULE XCLIPPBM
;
; This module was written by Matthew MacKenzie
; matm@eng.umd.edu
;
; Clipped transfer of planar bitmaps from system memory to video memory.
;
; Compile with TASM.
; C near-callable.
;
; ****** XLIB - Mode X graphics library ****************
; ****** ****************
; ****** Written By Themie Gouthas ****************
;
; Terminology & notes:
; VRAM == Video RAM
; SRAM == System RAM
; X coordinates are in pixels unless explicitly stated
;
;----------------------------------------------------------------------*/
#ifndef _XCLIPPBM_H_
#define _XCLIPPBM_H_
/* copies a planar bitmap from SRAM to VRAM, with clipping */
extern void x_clip_pbm (int X, int Y, int ScreenOffs, char far * Bitmap);
/* copies a planar bitmap from SRAM to VRAM, with clipping -- 0 bytes
in the bitmap are not copied */
extern void x_clip_masked_pbm (int X, int Y,
int ScreenOffs, char far * Bitmap);
/* unlike most global variables in Xlib, these are meant to be written to;
in fact they start off uninitialized -- all values are in pixels */
extern int TopBound;
extern int BottomBound;
extern int LeftBound;
extern int RightBound;
#endif